package com.github.blanexie.nexusj.application.dto

import java.time.LocalDateTime

data class PeerDTO(
    val peerId: String,
    val infoHash: String,
    var trackerid: String?,
    var port: Int,
    var uploaded: Long,
    var downloaded: Long,
    var left: Long,
    var compact: Int,
    var event: String,
    var ip: String?,
    var ipv6: String?,
    var numwant: Int,
    var authKey: String,
    val createTime: LocalDateTime = LocalDateTime.now(),
    var updateTime: LocalDateTime = LocalDateTime.now(),
    var status: Int = 0  //默认0 , 如果-1 就是表示这个peerId被禁用了
)